//body-parser 解析数据的
const express = require('express')
const bdParSer = require('body-parser');

const app = express();
//配置解析application/x-www-form-urlencoded格式数据的内置中间件
app.use(bdParSer.urlencoded({ extended: false }))

app.post('/user', (req, res) => {

    res.send(req.body);
})
app.listen(89, () => {
    console.log('http://127.0.0.1:89');

})
